package com.bjc.principle.face;

/**
 * @program: DesignPattern
 * @description:
 * @author: bjc
 * @create: 2021-01-04 13:50
 */
public class Facade {

    SubFlow1 s1 = new SubFlow1();
    SubFlow2 s2 = new SubFlow2();
    SubFlow3 s3 = new SubFlow3();

    boolean prove(){
        return s1.isTrue()&&s2.isOk()&&s3.isGoodMan();
    }
}
